package Productor_customer;

import java.util.concurrent.LinkedBlockingQueue;

public class Test {
    public static void main(String[] args){
        LinkedBlockingQueue<BaoZi> zt=new LinkedBlockingQueue<>(5);
        Productor p=new Productor(zt);
        Customer c1=new Customer(zt);
        Customer c2=new Customer(zt);
        Customer c3=new Customer(zt);
        p.start();
        c1.start();c2.start();c3.start();
    }
}
